﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [MetadataType(typeof(Sys_Parameter_Metadata))]
    [DisplayName("系统参数")]
    public partial class Sys_Parameter
    {
        public Sys_Parameter()
        {
            this.Id = Guid.NewGuid();
        }
        public class Sys_Parameter_Metadata
        {
            [ScaffoldColumn(false)]
            public System.Guid Id { get; set; }

            [DisplayName("参数名")]
            [Required]
            public string ParameterName { get; set; }

            [DisplayName("参数值")]
            [Required]
            public string Parameters { get; set; }

            [DisplayName("参数说明")]
            [Required]
            public string ParameterDescription { get; set; }

            [DisplayName("写入Web.config")]
            public object WriteWebConfig { get; set; }

        }
    }
}
